<?php
declare(strict_types=1);
namespace Dao;
// hook dao_sys_user_auth_use.php

use Model\SysUserAuthModel;

class SysUserAuthDao extends SysUserAuthModel
{
	// hook dao_sys_user_auth_public_start.php

	protected array $add_rule	=	[];
    protected array $edit_rule	=	[];

    protected array $rule	=	[
		/*
		"mobile"=>[
			"max"=>3
			"min"=>3
			"func"=>'isMobile'
			"error"=>false,
			'message'=>'格式有误'
		],
		"username"=>[
			"max"=>3
			"min"=>3
			"func"=>'checkS'
			"error"=>false,
			'message'=>'格式有误'
		],
		*/
	];
	//数据，字段，验证规则
	/*
	function isMobile($data,$field,$val){
	
		return true;
	}
	*/
	
	// hook dao_sys_user_auth_public_end.php


	// hook dao_sys_user_auth_end.php
}
?>